package com.dhz.common.solr.conf;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * spring架构下xsd扩展的命名空间处理类
 *
 * @author Fyduan
 */
class SolrNamespaceHandler extends NamespaceHandlerSupport {

    /*
     * (non-Javadoc)
     * @see org.springframework.beans.factory.xml.NamespaceHandler#init()
     */
    @Override
    public void init() {
        registerBeanDefinitionParser("solr-client", new HttpSolrClientBeanDefinitionParser());
    }
}
